# from .datastructure import BasePaymentService
#
#
# class PaymentService:
#     def __init__(self, app=None):
#         if app:
#             self._init_app(app)
#             self._proxy = None
#
#     def init_app(self, app):
#         merchant_id = app.config.get('PAYMENT_MERCHANT_ID', None)
#         password = app.config.get('PAYMENT_PASSWORD', None)
#         host_url = app.config.get('PAYMENT_API_URL', None)
#
#         self._proxy = BasePaymentService(merchant_id, password, host_url)
#
#     def fundin(self, order):
#         self._proxy.fundin(order)

__version__ = '0.0.1'
from .api import Api, configure
from .exception import PaymentException
from .payments import FundIn ,Payment
from .fund_channel import FundChannel
from .datastructure import *
